-
Notifications
You must be signed in to change notification settings - Fork 7.9k
AppVeyor: only load minimal set of exts; don't run unsupported test s… #7150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
appveyor/test_task.bat
Outdated
|
||
rem overwrite tmp-php.ini | ||
echo extension_dir=%PHP_BUILD_DIR% > %PHP_BUILD_DIR%\tmp-php.ini | ||
echo opcache.file_cache=%PHP_BUILD_DIR%\test_file_cache >> %PHP_BUILD_DIR%\tmp-php.ini |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that part of the old tmp-php.ini? So our opcache test on Windows is actually testing file cache and not SHM cache?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
opcache.file_cache
does not disable SHM caching on Windows; that would require opcache.file_cache_only
to be enabled (but defaults to off). The file cache is relevant for opcache.file_cache_fallback
which is enabled by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, that makes sense.
Part of the test failures are due to duplicate exts in EXTENSIONS (should possibly check that and BORK). Most of them are because we don't pass through loaded extensions to proc_open based server tests... |
Ugh! I'll have a look at this, but it may take some days. |
I think I've fixed all the incorrect/missing EXTENSIONS sections, so if you rebase this should have just the proc_open issues now. Not entirely sure what to do about those. We should really forward |
Though to make some quick progress here, it may make sense to keep an unconditional load of |
I did that now. Let's wait for the test results. |
Down to two failures:
The first one is an I'm a bit stumped on the second one though. Not seeing anything that should be affected by extension loading there. It failed on both jobs though, so it doesn't look spurious either. |
I guess we need to load mbstring as well. |
@cmb69 Oh, nice catch! I wasn't aware exif has an optional dependency on mbstring. Looks like only the com_dotnet test fails now, so I'd suggest to also unconditionally load that ext for now, and then this should be good to go. |
I've fixed the COM test by loading com_dotnet via command line argument. I've just pushed a final commit to get rid of the auto-generated php.ini altogether. It seems to me that the test suite runs considerably faster now. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM assuming CI passes. Thanks!
;) I'll need to have a closer look; also, there are more tests skipped now. |
Presumably we're missing this part: php-src/win32/build/confutils.js Lines 2039 to 2044 in 9871a62
|
Ah, right! |
CI is green, and results look okay, so I think this is good to be merged. |
…uites